﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ApiDoc.CodeSyntaxGenerators
{
    /// <summary>
    /// Marks an ICodeSyntaxGenerator as supplying syntax for a particular language.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class CodeSyntaxGeneratorAttribute : Attribute
    {
        public CodeSyntaxGeneratorAttribute(string language)
        {
            Language = language;
        }

        /// <summary>
        /// Gets the name of the language the generator provides.
        /// </summary>
        public string Language { get; private set; }
    }
}
